package com.yihu.wlyy.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * WlyyQuotaResult entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wlyy_quota_result")
public class WlyyQuotaResult implements java.io.Serializable {

    // Fields

    private String id;
    private String quotaDate;//统计时间
    private String quatoCode;//指标code
    private String quatoName;//指标name
    private String result;//统计结果
    private String del;//1: 正常 0： 删除
    private String level1Type;//等级 1:团队 2社区机构 3区级 4市级
    private String level2Type;//如果有二级维度那么这个存的是二级维度的code 例如二级维度是性别 那么这个存 1
    private String level2TypeName;//如果有二级维度那么这个存的是二级维度的code 例如二级维度是性别 那么这个存 男
    private String city;//市
    private String cityName;//市级名称
    private String town;//区级
    private String townName;//区级名称
    private String orgCode;//机构code
    private String orgName;//机构名称
    private String qkdoctorName;//全科医生名称
    private String qkdoctorJobName;//全科医生职称
    private String qkdoctorCode;//全科医生code
    private Date createTime;//创建时间

    // Constructors

    /**
     * default constructor
     */
    public WlyyQuotaResult() {
    }


    // Property accessors
    @GenericGenerator(name = "generator", strategy = "uuid")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "id", unique = true, nullable = false, length = 100)
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "org_code", length = 100)
    public String getOrgCode() {
        return this.orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    @Column(name = "org_name", length = 200)
    public String getOrgName() {
        return this.orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    @Column(name = "quota_date", length = 0)
    public String getQuotaDate() {
        return this.quotaDate;
    }

    public void setQuotaDate(String quotaDate) {
        this.quotaDate = quotaDate;
    }

    @Column(name = "quato_code", length = 100)
    public String getQuatoCode() {
        return this.quatoCode;
    }

    public void setQuatoCode(String quatoCode) {
        this.quatoCode = quatoCode;
    }

    @Column(name = "quato_name", length = 200)
    public String getQuatoName() {
        return this.quatoName;
    }

    public void setQuatoName(String quatoName) {
        this.quatoName = quatoName;
    }

    @Column(name = "result", length = 500)
    public String getResult() {
        return this.result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Column(name = "city", length = 10)
    public String getCity() {
        return this.city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Column(name = "city_name", length = 200)
    public String getCityName() {
        return this.cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Column(name = "town", length = 10)
    public String getTown() {
        return this.town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    @Column(name = "town_name", length = 200)
    public String getTownName() {
        return this.townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    @Column(name = "qkdoctor_name", length = 200)
    public String getQkdoctorName() {
        return this.qkdoctorName;
    }

    public void setQkdoctorName(String qkdoctorName) {
        this.qkdoctorName = qkdoctorName;
    }

    @Column(name = "qkdoctor_job_name", length = 200)
    public String getQkdoctorJobName() {
        return this.qkdoctorJobName;
    }

    public void setQkdoctorJobName(String qkdoctorJobName) {
        this.qkdoctorJobName = qkdoctorJobName;
    }

    @Column(name = "del", length = 1)
    public String getDel() {
        return this.del;
    }

    public void setDel(String del) {
        this.del = del;
    }


    @Column(name = "qkdoctor_code", length = 200)
    public String getQkdoctorCode() {
        return qkdoctorCode;
    }

    public void setQkdoctorCode(String qkdoctorCode) {
        this.qkdoctorCode = qkdoctorCode;
    }

    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "level1_type", length = 2)
    public String getLevel1Type() {
        return level1Type;
    }

    public void setLevel1Type(String level1Type) {
        this.level1Type = level1Type;
    }

    @Column(name = "level2_type", length = 50)
    public String getLevel2Type() {
        return level2Type;
    }

    public void setLevel2Type(String level2Type) {
        this.level2Type = level2Type;
    }

    @Column(name = "level2_type_name", length = 50)
    public String getLevel2TypeName() {
        return level2TypeName;
    }

    public void setLevel2TypeName(String level2TypeName) {
        this.level2TypeName = level2TypeName;
    }
}